package slices
{
	
	public class FunctionSlice extends TimeSlice
	{
		public var func:Function;
		
		public function FunctionSlice(func:Function)
		{
			super();
			this.func = func;
		}
		
		override public function onStart():void {
			func();
			isDone = true;
		}
		
	}
}